/opt/module/sqoop/bin/sqoop import \
--connect 'jdbc:mysql://node101:3306/db_test' \
--driver com.mysql.jdbc.Driver \
--username root \
--password 123456 \
--query 'SELECT id, name, region_id, area_code, iso_code, iso_3166_2 FROM base_province WHERE $CONDITIONS AND 1 = 1;' \
--target-dir 'hdfs://node101:8020/warehouse/applet/base_province' \
--fields-terminated-by '\001' \
--delete-target-dir \
--num-mappers 1 \
--null-string '\\N' \
--null-non-string '\\N'